import { Link } from "react-router-dom";
import React from "react";
import './home.css'

export default class Home extends React.Component {
  render() {
    return (
      <div className="home">
        <div className="home-menu">
          <Link className="home-menu-link" to="/home/app">首页</Link>
          <Link className="home-menu-link" to="/home/test">Test</Link>
          <Link className="home-menu-link" to="/home/todo">todo</Link>
        </div>

        <div className="home-body">
          {this.props.children}
        </div>
      </div>
    );
  }
}
